Represents an indexed collection.

Namespace:  C1.LiveLinq.Indexing
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public interface IIndexedSource<T> : IEnumerable<T>, 
	IEnumerable
Visual Basic
Public Interface IIndexedSource(Of T) _
	Inherits IEnumerable(Of T), IEnumerable

Type Parameters

T
The type of the elements of the collection.

Remarks

An indexed collection has a collection of indexes, ScannerCollection<(Of <(<'T>)>)> that are maintained up-to-date on every change made to the collection.

This interface is implemented by all main LiveLinq collection classes: IndexedCollection<(Of <(<'T>)>)>, IndexedDataTable<(Of <(<'TRow>)>)>, View<(Of <(<'T>)>)>.

You need to implement this interface only if you want to define your own indexable collection classes and then only if they don't inherit from IndexedCollection<(Of <(<'T>)>)>, see LiveLinq to Objects: IndexedCollection(T) and other collection classes.

See Also